def METHOD_NAME(self, root: pathlib.Path) -> None:
    """Copy the initial config.ini file to .trestle directory."""
    try:
        source_path = pathlib.Path(resource_filename('trestle.resources', const.TRESTLE_CONFIG_FILE)).resolve()
        destination_path = (root / pathlib.Path(const.TRESTLE_CONFIG_DIR) / const.TRESTLE_CONFIG_FILE).resolve()
        copyfile(source_path, destination_path)
    except (shutil.SameFileError, OSError) as e:
        raise TrestleError(f'Error while copying config file: {e}')
    except Exception as e:
        raise TrestleError(f'Unexpected error while copying config file: {e}')