class_docstr: Import CLTK corpora.
class_docstr_tok: ["Import","CLTK","corpora","."]
docstr: Copy contents of one directory to another. `dst_rel` dir cannot
  exist. Source: http://stackoverflow.com/a/1994840
  TODO: Move this to file_operations.py module.
  :type src_rel: str
  :param src_rel: Directory to be copied.
  :type dst_rel: str
  :param dst_rel: Directory to be created with contents of ``src_rel``.
docstr_tok: ["Copy","contents","of","one","directory","to","another",".","`","dst_rel","`","dir","can","not","exist",".","Source",":","http",":","\/\/stackoverflow.com\/a\/1994840","TODO",":","Move","this","to","file_operations.py","module",".",":","type","src_rel",":","str",":","param","src_rel",":","Directory","to","be","copied",".",":","type","dst_rel",":","str",":","param","dst_rel",":","Directory","to","be","created","with","contents","of","``","src_rel","``","."]
code: def _copy_dir_recursive(src_rel, dst_rel):
      """Copy contents of one directory to another. `dst_rel` dir cannot
      exist. Source: http://stackoverflow.com/a/1994840
      TODO: Move this to file_operations.py module.
      :type src_rel: str
      :param src_rel: Directory to be copied.
      :type dst_rel: str
      :param dst_rel: Directory to be created with contents of ``src_rel``.
      """
      src = os.path.expanduser(src_rel)
      dst = os.path.expanduser(dst_rel)
      try:
          shutil.copytree(src, dst)
          logger.info("Files copied from %s to %s", src, dst)
      except OSError as exc:
          if exc.errno == errno.ENOTDIR:
              shutil.copy(src, dst)
              logger.info("Files copied from %s to %s", src, dst)
          else:
              raise
  
imports: import errno
  import os
  import shutil
  import sys
  from urllib.parse import urljoin
  import yaml
  from git import RemoteProgress, Repo
  from cltk.core.cltk_logger import logger
  from cltk.core.exceptions import CorpusImportError
  from cltk.languages.utils import get_lang
  from cltk.utils.utils import CLTK_DATA_DIR
label_desc: Use image node_id 6 for calling the FetchCorpus obj's underlying member method code with example usage: obj._copy_dir_recursive(src_rel, dst_rel) without return types