code: def copy_tree_root(src_dir: str, dest_parent: str) -> None:
      
      dirname = os.path.basename(os.path.normpath(src_dir))
      dest_dir = os.path.join(dest_parent, dirname)
      shutil.copytree(src_dir, dest_dir)
docs: Copies a directory ``src_dir`` into the directory ``dest_parent``.
      That is, with a file structure like:
  
      .. code-block:: none
  
          /source/thing/a.txt
          /source/thing/b.txt
          /source/thing/somedir/c.txt
  
      the command
  
      .. code-block:: python
  
          copy_tree_root("/source/thing", "/dest")
  
      ends up creating
  
      .. code-block:: none
  
          /dest/thing/a.txt
          /dest/thing/b.txt
          /dest/thing/somedir/c.txt