code: def only_newer(copy_func):
      
      @functools.wraps(copy_func)
      def wrapper(src, dst, *args, **kwargs):
          is_newer_dst = (
              dst.exists()
              and dst.getmtime() >= src.getmtime()
          )
          if is_newer_dst:
              return dst
          return copy_func(src, dst, *args, **kwargs)
      return wrapper
docs: Wrap a copy function (like shutil.copy2) to return
      the dst if it's newer than the source.