If I get a new laptop and plug my iphone into itunes will it all transfer over okay?

I'm planning on getting a new laptop soon and when I do- when I download Itunes on it, and then plug my Iphone on it, will all of my music on my Iphone transfer over? I just don't want to lose any of it

Your music is automatically uploaded to itunes the moment you buy it.

Joelies24 is right. I recommend copying the iTunes folder with the music on it over to the new laptop via USB hard-drive or flash-drive. All purchased items should download on request or automatically.

No, only the stuff you bought on itunes will transfer over, the rest you must do manually.