Copies the mode of this file on the `target` file.

        The owner is not copied.

def copymode(self, target):
        """Copies the mode of this file on the `target` file.

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