copy input to workdir