Add copy command to file resource