Improved the file copy program, removed the junk values case