Migrating from Zwave JS to Zwave JS UI?

Did you look at the linked guide? It’s explained in Step 1.0.

https://community.home-assistant.io/t/switching-z-wave-js-addons-with-minimal-downtime-z-wave-js-official-to-z-wave-js-ui-community/409904#step-10-save-important-z-wave-js-configuration-settings-9