<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 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))