Put Backup on Old iPhone
Alternatively there are apps that let you download texts off, such as PhoneView by ecamm but I heard they stopped working in one of the most recent updates, so I would check the demo first.