method
copy_file
copy_file(dest)
public
Hide source
# File lib/fileutils.rb, line 1277 def copy_file(dest) File.open(path()) do |s| File.open(dest, 'wb') do |f| IO.copy_stream(s, f) end end end