Implement cut and copy in the filebrowser

The src repo may not be `repo_`. We should also use a static variable to record the source repo id.