upgpkg: copy-agent