I think it would just be easier to do the migration in Z-Wave JS UI. There are several guides to do so.
- Z-Wave JS integration docs: https://www.home-assistant.io/integrations/zwave_js/#how-to-migrate-from-one-adapter-to-a-new-adapter-using-z-wave-js-ui
- ZWA-2 guide, it’s the same as above and works for every controller: https://support.nabucasa.com/hc/en-us/articles/29529265751965-Migrating-an-existing-Z-Wave-network-to-Home-Assistant-Connect-ZWA-2. See Scenario 2 steps. The one explicit step missing there is to be sure and re-configure the USB path/serial path to point to the new controller.
- Or here’s a video with the same steps if that’s more your style (timestamp for ZUI migration linked).