code: def _copy_dvc_yaml(state):
      dest = os.path.join(state.run_dir, "dvc.yaml")
      if os.path.exists(dest):
          return
      src = os.path.join(state.project_dir, "dvc.yaml")
      if not os.path.exists(src):
          raise SystemExit("missing dvc.yaml - cannot run DvC stage")
      util.copyfile(src, dest)
      state.manifest_entries.append(
          _internal_file_entry_for_path(dest, state)
      )
  
imports: import argparse
  import logging
  import os
  import subprocess
  import yaml
  from guild import op_util
  from guild import run
  from guild import run_manifest
  from guild import summary
  from guild import util
  from .None import dvc_util
label_desc: Use image node_id 14 for calling a global function with example usage: _copy_dvc_yaml(state) without return types