add a same way to copy the first line of file1 to file2