add copyFileAndRemove

Depends on: https://github.com/virgo-agent-toolkit/virgo-base-agent/pull/110