code: def fixture_copy(path, dst=None):
      if os.path.isfile(fixture_path(path)):
          return shutil.copy(fixture_path(path), dst or path)
      else:
          return shutil.copytree(fixture_path(path), dst or path)
  
file_path: wandb/tests/pytest_tests/unit_tests_old/utils/utils.py
imports: import io
  import os
  import shutil
  import socket
  from typing import Union
label_desc: Use image node_id 8 for calling a global function with example usage: fixture_copy(path, dst) and returns: shutil, shutil