Add COPY and fix errors.