# File lib/fog/local/models/storage/file.rb, line 39 def copy(target_directory_key, target_file_key, options={}) requires :directory, :key connection.copy_object(directory.key, key, target_directory_key, target_file_key) target_directory = connection.directories.new(:key => target_directory_key) target_directory.files.get(target_file_key) end