method

copy_file

v1_9_3_392 - Show latest stable - Class: FileUtils::Entry_
copy_file(dest)
public

No documentation available.

# File lib/fileutils.rb, line 1369
    def copy_file(dest)
      File.open(path()) do |s|
        File.open(dest, 'wb', s.stat.mode) do |f|
          IO.copy_stream(s, f)
        end
      end
    end