app: copy file method