How can I copy theme configuration when copying a site?
Theme settings are stored in the database. However, Drupal 8 has configuration management. You can export the configuration to yml files. Theme configuration is included.

You can download the yml files at /admin/config/development/configuration/full/export

Or you can export it to the configuration folder by
$ drush config-export sync