code: def _copy_finfo(finfo, storage_dir, pass_uptodate=False):
      
      out_file = _get_file_upload_path(finfo, storage_dir)
      if not shared.up_to_date(out_file, finfo):
          logger.info("Storing in local filesystem: %s" % out_file)
          shutil.copy(finfo["path"], out_file)
          return out_file
      if pass_uptodate:
          return out_file
docs: Copy a file into the output storage directory.