The only file that changes all the paths in the xampp folder is the setup_xampp.bat file.
Suggestion:
Why copy the xampp folder over to the laptop?
Why not just copy the archive file you download on to your laptop, then extract the xampp folder from the file you just download into a directory you newly created D:\myserver so then you have D:\myserver\xampp, now tun the setup bat file.
This will eliminate any issues with copying the extracted xampp folder to your laptop.
If your laptop gives you more attitude you have a wonderful waterfall to drop it over near where you live.