iTunes in a new computer

I have no problem with itunes,outlook and my iphone 4 but need to change a new computer but how on earth do i transfer my all my DATA(music,contacts,program) on to the new computer without loosing them on my iphone.Installing and setting up my itunes may be easy but how about my ACCOUNT and tones of programs i have on my phone.I DO NOT WANT TO LOOSE THEM!
If it's the same account (which I assume it is), then go to Store > Authorize Computer, then with the iPhone plugged in to the computer go to File > Transfer Purchases.

This should (in theory, at least) transfer anything that you purchased or downloaded from iTunes from the phone to the computer.
I copy the itunes folder (both the aplication and the library) over exactly as before. Then I install iTunes over it. Works well...
If it's the same account (which I assume it is), then go to Store > Authorize Computer, then with the iPhone plugged in to the computer go to File > Transfer Purchases.

This should (in theory, at least) transfer anything that you purchased or downloaded from iTunes from the phone to the computer.

Does this include all my music folders from my iphone, notes and all other things from my iphone to iTunes?
I copy the itunes folder (both the aplication and the library) over exactly as before. Then I install iTunes over it. Works well...

I really,really am afraid and need more explanation.Thanks.
Do like farbod said. This is what I do as well. In addition to authorizing the new computer, you must copy your folders intact. Remember your iTunes settings are (probably) in your Documents directory, along with your ringtones.

Original thread: https://forums.imore.com/threads/itunes-in-a-new-computer.199830/