copy the `var` directory to the working directory.