The safest way to do this would be to copy your itunes library to an external drive. For the purposes of this excersize the new Laptop would be the external drive
Here is the support article
Then you could erase the iPhone and resync it without losing any content.
If this option is not open to you then this article contains ways to get your content off your iPod