Can you sync songs from your iphone to the itunes?

My laptop broke and I bought a new one. I downloaded Itunes on my new laptop. They're is no songs on it. Is there any way that I can get the songs from my iphone to my itunes?

I use this program, it is perfect, it will copy the files to your itunes.
I had to use it a few days ago when iTunes decided to delete one of my most used, and large playlists.

I also use it to rip audio from my friends ipods.

http://thelittleappfactory.com/irip/index_irip1.php

Make sure iTunes is set to NOT automatically sync ipods/phones on docking.
once you have iRip installed, open it and iTunes, plug in the iPhone, cancel any promps iTunes gives you, DO NOT let iTunes erase or sync over your files!
Then use iRip to rip the files to Itunes.

Try reading the answers given to the people who already asked this question.