code: def run_copy(tmp_dir, copy_script, dvc):  # noqa: ARG001
      def run_copy(src, dst, **run_kwargs):
          wdir = pathlib.Path(run_kwargs.get("wdir", "."))
          wdir = pathlib.Path("../" * len(wdir.parts))
          script_path = wdir / "copy.py"
  
          return dvc.run(
              cmd=f"python {script_path} {src} {dst}",
              outs=[dst],
              deps=[src, f"{script_path}"],
              **run_kwargs,
          )
  
      return run_copy
  
imports: import os
  import pathlib
  import subprocess
  from typing import Dict, Tuple
  import pytest
  from .scripts import copy_script
label_desc: Use image node_id 22 for calling a global function with example usage: run_copy(tmp_dir, copy_script, dvc) and returns: run_copy, dvc