code: def copytree(
      src, dst, symlinks=False, ignore=None, postprocessing=None
  ):
      """
      Copy an entire directory of files into an existing directory
      instead of raising Exception what shtuil.copytree does
      """
      if not os.path.exists(dst) and os.path.isdir(src):
          os.makedirs(dst)
      for item in os.listdir(src):
          s = os.path.join(src, item)
          d = os.path.join(dst, item)
          if os.path.isdir(s):
              shutil.copytree(s, d, symlinks, ignore)
          else:
              shutil.copy2(s, d)
      if postprocessing:
          postprocessing(dst, False)
          for root, dirs, files in os.walk(dst):
              for path in dirs:
                  postprocessing(os.path.join(root, path), False)
              for path in files:
                  postprocessing(os.path.join(root, path), True)
  
file_path: catboost/library/python/testing/yatest_common/yatest/common/path.py
imports: import errno
  import os
  import shutil
  import contextlib
  import library.python.fs
label_desc: Use image node_id 3 for calling a global function with example usage: copytree(src, dst, symlinks, ignore, postprocessing) without return types