replaced copyOptions with copy: {files: