copy file to workdir