require 'fileutils' # Copy a file FileUtils.cp 'myfile.txt', 'myfile.txt.bak' # Copy list of files to folder FileUtils.cp %w(somefile.txt another.txt), './bak' FileUtils.cp Dir.glob('*.rb'), './bak', :verbose => true