in 'most cases' you can just copy the files into the correct folder using Explorer. 'public_html' is another synonym/alias for the primary Apache DocumentRoot which is called 'htdocs' in XAMPP. Thats a setting made in httpd.conf, the main Apache configuration file.

Now would be a good time to learn a bit about Apache configuration - it would probably answer many questions you will have

Oddly, when I installed XAMPP it was to a folder in program files I entitled XAMPP into which it installed xampp-portable and therein within it the htdocs folder you refer to, which had within it another folder titled "zampp". The short story is that I had transferred the cart's files to the wrong folder leading to much frustration and lost time.