code: def copy_data_tree(datadir, destdir):
      try:
          shutil.rmtree(destdir)
      except OSError:
          pass
      shutil.copytree(datadir, destdir)
  
file_path: rasterio/setup.py
imports: import copy
  import itertools
  import logging
  import os
  import platform
  import pprint
  import shutil
  from subprocess import check_output
  import sys
  from pkg_resources import parse_version
  from setuptools import setup
  from setuptools.extension import Extension
label_desc: Use image node_id 1 for calling a global function with example usage: copy_data_tree(datadir, destdir) without return types