How can I copy all freepbx settings from a box to another one?

Hi,
What is the right way to copy all the settings without exporting the license?
I’m worryed that after the copy, the licensed modules stops to work
I’m on freepbx12+asterisk11

You should take a look at the Backup & Restore Module. It will let you backup your settings and optionally your modules and move them to another box. Note that the commercial modules are locked to your hardware, so if you are moving the deployment to new hardware you will need to request a Zend Reset via the System Administration module or the Portal (How to Move a Deployment to a new PBX).