How to get all information from one iPhone to another?

So I had to get a new iPhone 5 because my old one was defective. And I had all of my information on that phone like pictures, and text messages that I really need know. How do I get all of that back? I don't have the old phone. They had to send it back to the manufacture

Did you sync and backup your iPhone to iTunes on your computer? If you did you can easily restore all your data simply by clicking restore. Well if not, you might have turned on iCloud so why not try to sync your stuff from iCloud into your new iPhone. However iCloud backs up content selectively so even if you have iCloud on you might not get all your stuff back. Hope this helps.

If you had icloud, and you were connected to the internet on the old phone, then it should have saved it. All you have to do is icloud it back when you turn on the new phone. If you can't, go to the apple store and have them do it for you.

Restore from the cloud will get most of your stuff back.

1. Download and install the latest version of "iTunes."
2. Connect your old iPhone (the phone from which you wish to copy all information) to your computer using the USB iPhone connection cable. When the iPhone is connected, the iTunes program will launch automatically.
3. Sync the iPhone by clicking on your iPhone under the "Devices" menu, then clicking "Info."
4. Click each tab, then click to place check marks next to any available sync option. This will instruct the iTunes program to sync all information on your iPhone and computer, including contacts, calendar, bookmarks, photos, music, podcasts, videos, apps, ringtones, and books.
5. Click "Apply," then click "Sync."
6. Right-click on the iPhone under the "Devices" menu and click "Back Up" to create a backup of the iPhone information, in case of data corruption. Follow the displayed instructions to complete the backup process.
7. Unplug the old iPhone and plug in the new iPhone (the phone you wish to copy information to). Click "Restore," if necessary.
8. Click the option to "Restore from the backup of," then click to select the backup that was created in Step 6. Click "Continue." Allow several minutes for the restore process to copy information from the backup file to your new iPhone, after which the iPhone will restart.
9. Click to select the new iPhone from the "Devices" menu. Click "Info." Click to place checks next to the information you wish to sync to the new iPhone, then click "Apply."
10. Click "Sync." Allow several minutes for the iPhone data to be synchronized, then unplug the new iPhone from the computer.
11. Unlock the iPhone and verify that the information has been successfully transferred. If the information has not been successfully transferred, repeat Steps 2 through 10.

If you have any backup of the old one using iTunes you can restore to that using iTunes.