require 'fileutils' FileUtils.copy_file 'input.txt', 'output.txt'