method
copy_file
copy_file(dest)
public
Hide source
# File lib/fileutils.rb, line 1259 def copy_file(dest) st = stat() File.open(path(), 'rb') {|r| File.open(dest, 'wb', st.mode) {|w| fu_copy_stream0 r, w, (fu_blksize(st) || fu_default_blksize()) } } end