make COPY work for single files