How to copy the modules configuration

I need to copy the configuration of the modules, but I don’t understand how I can do this.

configuration of each module is stored in database. check out table llx_const
also see https://wiki.dolibarr.org/index.php/Constants