I\'m trying to write a program that reads a file, prints what\'s in the file, add the contents of said file to an array, print from the array and then write to a file using