Quiz 10 (Exercise for Chap. 15)

   Write a program that concatenates the contents of several files
   For example

   java CatFiles file1 file2 file3 output

   makes the file output be the concatenation of file1, 2 and 3.
   There could be any number of files on the command line and the last
   one is always the concatenation of the others.
import java.io.* ;

public class CatFiles
    public static void main(String[] args) throws IOException