old_contents: import os
  import shutil
  
  import errno
  
  
  def mkdir_p(path):
      try:
          os.makedirs(path)
      except OSError as exception:
          if exception.errno == errno.EEXIST and os.path.isdir(path):
              pass
          else:
              raise
  
  
  def rm_rf(path):
      if os.path.exists(path):
          shutil.rmtree(path)
  
new_contents: import os
  import shutil
  
  import errno
  
  
  def mkdir_p(path):
      try:
          os.makedirs(path)
      except OSError as exception:
          if exception.errno == errno.EEXIST and os.path.isdir(path):
              pass
          else:
              raise
  
  
  def rm_rf(path):
      if os.path.exists(path):
          shutil.rmtree(path)
  
  
  def copyfile(src, dest):
      shutil.copyfile(src, dest)
  
subject: Add a new copy file util function