Import existing site to local host not working


I am trying to import an existing site to a localhost via XAMPP or Duplicator. The problem is that I have and links and these don't import.

How can I do this? The idea is to make changes to the theme in local and then export it again to the existing website.