You can transfer iTunes Store or App Store purchases to your computer from your iPod, iPhone, or iPad. The computer must be http://support.apple.com/kb/HT1296 By the way, if you have non-purchased songs on iPhone, you can use this iPhone to PC transfer program. It help you to transfer songs/videos/photos etc from iPhone to iTunes.with the used to purchase the items. Please refer
Hope it helps.
You can use http://www.google.com to search more