You can also back up your contacts to iCloud if you've got iOS 5 on your phone. The advantages of doing that are that you don't need to plug in to sync your contacts and that you can also get at your contacts through the iCloud web site so you don't even need your iPhone to get someone's details.