code: def _recursive_overwrite(self, src, dest):
          
          if os.path.isdir(src):
              if not os.path.isdir(dest):
                  os.makedirs(dest)
              files = os.listdir(src)
              for f in files:
                  self._recursive_overwrite(os.path.join(src, f),
                                            os.path.join(dest, f))
          else:
              shutil.copyfile(src, dest, follow_symlinks=False)
docs: Copy src to dest, recursively and with file overwrite.