Apple's Messages in iCloud service lets you back up all of your text messages to the cloud so that you can download them to your new iPhone. It also keeps all of your Apple devices in sync so that every message and reply can be seen on every device.