How to get my music from old iPhone to new iPhone?

Can anyone explain to me how exactly you transfer all your music from an old iPhone to a new one? I thought it was as simple as connecting my new iPhone to my laptop where I have my iTunes uploaded but unfortunately it was not

Make a apple ID (if you don't have one) and then get iCloud. Use iCloud to transfer your music to your new iPhone. It will explain itself.

Plug your iphone into your itunes on your computer Transfer everything from your iphone to your computer and then transfer everything to your new iphone it's easy and simple just open up your itunes on your computer plug up your phone and press transfer and then when you finish sync all your music to new iphone

Look up ipod/iphone music transfer software.

You can transfer music from old iPhone to computer, and then sync them to new iPhone.

you can refer to this guide for how to transfer music form iPhone to computer.
http://ipod-iphone-ipad-trans.posterous.com/how-to-transfer-music-video-from-ipodiphoneip