How do I read a text file and write that what I read to another file?