How do I back up my old iPhone 4 onto a new Mac? As it said, i recently got a new apple mac and I want to backup my old iPhone onto it because i have a new iPhone 4S which i would like to get up and running.

I have all of my music and photos onto an external hard drive but i don't really want to loose my contacts, messages, apps, calendar entries etc.

Is it possible? Or will i just have to write everything down and re-enter it?

Thankyou :)
All you need to do is plug in your iPhone 4 into the Mac, and depending on your setup, iTunes should start backing it up. The Mac isn't actually a requirement here, if you set up the iPhone 4 with iTunes on a PC, you can do the same there.

When you get your iPhone 4S, and plug it into the computer, it will ask you if you would like to set up the phone as a new phone, or use a backup from a previous device, like the iPhone 4. Say yes - to use the backup - and it should set up the 4S just like your 4.

With iOS 5, iCloud actually will do part of this for you as well. If your iPhone 4 is already backing up to iCloud (instead of iTunes), when you set up iCloud on the 4S, it may ask you if you want to set it up using the previous backup. This is exactly how I migrated my wife's iPhone 4 to a 4S when she got it.