Output:
Enter the filename to open for readinga.txtEnter the filename to open for writingb.txtContents copied to b.txt