def rename(to)
      to = self.class.new(@adapter, to)
      realpath.rename(to.fullpath.to_s)
      to
    end
def rename(to)
      to = self.class.new(@adapter, to)
      realpath.rename(to.fullpath.to_s)
      to
    end
of duplicate