def process(self):
    """Checks whether the paths exists and updates the state accordingly."""
    for _, path in self.state.input:
      self._copy_file_or_directory(path, self._target_directory)
      print('{0:s} -> {1:s}'.format(path, self._target_directory))
Checks whether the paths exists and updates the state accordingly.