code: def copy_and_overwrite(from_path, to_path):
      if os.path.exists(to_path):
          shutil.rmtree(to_path)
      shutil.copytree(from_path, to_path)
  
imports: import sys
  import datetime
  import os
  import yaml
  import random
  import shutil
  import six
  import warnings
  import glob
  from utils.util import get_last_dir
label_desc: Use image node_id 5 for calling a global function with example usage: copy_and_overwrite(from_path, to_path) without return types