iTunes keeps a backup of your phone, and it will probably ask you something like "do you want to transfer the information from (insert name of old iPhone here) to this device?" And then you can switch it over.
EDIT: Here is an Apple support article that gives step buy step instructions on how to do so:
Apple Article Link