code: def _copy_file(src, dest):
      try:
          _shutil_copy(src, dest)
      except IOError as e:
          if e.errno != errno.ENOENT:
              raise
          os.makedirs(os.path.dirname(dest))
          _shutil_copy(src, dest)
  
imports: from collections import namedtuple
  import errno
  import fnmatch
  import logging
  import os
  import shutil
  from guild import file_util
  from guild import run_manifest
label_desc: Use image node_id 28 for calling a global function with example usage: _copy_file(src, dest) without return types