Getting a new iphone, can i transfer my saved data?

Is there anyway i can transfer saved app data to my new iphone when i get it? I plan to sell my old iphone for money then use an old phone waiting for the new one in the post.Id be heartbroken to loose all my homework and data on apps like subway surfer.

Added (1). EDIT: I know how to put apps on another device, but I wanted to know how to transfer the saved data on them?

Go on iytunes

Assuming your current phone is an iPhone…

1) Make sure to backup/sync your old phone prior to discontinuing use of it. You can back it up using iCloud or by connecting it to iTunes on your PC.

2) As part of the activation of the new iPhone you will be asked if you want to start a new account or use an existing one. Select existing and enter your iTunes id/password.

3) Your old apps, photos, etc… Will sync to the new phone. (assumes you haven't messed with the default iTunes settings)