Copies the permissions, times and flags from this to the `target`.

        The owner is not copied.

def copystat(self, target):
        """Copies the permissions, times and flags from this to the `target`.

        The owner is not copied.
        """
        shutil.copystat(self.path, self._to_backend(target))