Question: how to transfer all text messages from one iphone to another?
Answer: Turn on your new iPhone.
Go through the setup process. ... 
When asked, tap Restore from iCloud Backup and Next. ... 
Your new phone will start to download everything from your back-up, including all your messages.