Yeah when you connect your 4 in iTunes, right click on it and click "back up". Once it's done, disconnect it and plug in your 5 and right click on it an click "restore from backup". All your pictures and contacts and apps will get transferred. Hope this helps.
Sent from my iPhone 5S