How to use IDocumentManager to copy the file of the current extension directory to the host machine

version

➜  jupyter --version                                                               
Selected Jupyter core packages...
IPython          : 7.30.1
ipykernel        : 5.5.5
ipywidgets       : not installed
jupyter_client   : 7.1.0
jupyter_core     : 4.9.1
jupyter_server   : 1.13.1
jupyterlab       : 3.2.5
nbclient         : 0.5.9
nbconvert        : 6.3.0
nbformat         : 5.1.3
notebook         : 6.4.6
qtconsole        : not installed
traitlets        : 5.1.1

tree

/home/
├── other_user
│   └── hi.txt
├── extension
│   
└── user
    └── getting_started.ipynb
➜   jupyter lab  --notebook-dir='/home' --preferred-dir='/home/other_user'

code