When you back up your iPhone using iTunes or iCloud, a copy of all of your text messages is automatically included in the backup file. The problem is, you cannot directly access that file and read it ...
When I'm writing an e-mail or fiddling in TextEdit, I often copy in text from another location (Safari, another e-mail, etc.). Doing that, of course, copies the formatting along with it, screwing up ...