import { files } from 'ember-apply';
await files.copyFileTo('destination/file.js', { source: 'source/file.js' });
import { files } from 'ember-apply';
await files.copyFileTo('destination/file.js', { content: 'file contents' });
Generated using TypeDoc
Copy a file to some
destination. In theoptionsobject, only one ofsourceorcontentis needed.