If your sole purpose is to move entity x from module A to module B (as in: no other structural changes, just reorganizing modules): the easiest way is to right-click the entity in Studio Pro, select “Move to” and select the target module.
This step can be repeated for any entity that needs to be moved, in this case Mendix will just rename the table and no data migration is needed. You will need to re-select the allowed roles, and any logic/microflows would need to be moved manually as well.
If you need to keep the original data and/or have structural changes, the best way is indeed to create a new, separate entity in the other module and write a microflow that retrieves all objects for the original entity and creates new ones for the new entity. Keep in mind that:
Hi, first you create the entity in your module B, then you create a microflow to convert the data from entity a to entity b, then you test and deploy your application and run the microflow, when all was well transfered to entity B, you can remove the entity A and the data from it.