Added copy-dir-into function.