system("cp -r $dir $newdir");