just connect it to your computer and iTunes will pop up and ask you something like, "would you like to treat this as a new phone?"
Answer Yes and iTunes will sync your new iPhone will all the apps, music, contacts, calendars that were on the iPhone4.
It's how people move from one iPhone to another when they upgrade.
P
Owing to I have lost my iphone 4 last week, I am to buy one iphone 5, but I want to know can I get my iphone 4 backup files on my itunes,because I don't want to download them again, so I was wondering is there a way that I can extract my iphone 4 backup files to my new iphone 5? I am waiting for your every answer.If possible, please send me a detailed guide to operate. Thanks very much!

Chowhound
Comic Vine
GameFAQs
GameSpot
Giant Bomb
TechRepublic