Using "CAT" shell command we can copy content of one file to other file.
cat file1 >> file2
Note: Double redirect (>>) appends the contents of file1 to file2.
Single redirect ( > ) overwrites the contents of file2 with the
contents of file1.
contents of file1.