remote: Expose CopyFile
command/apply: Move state persistence to Meta