How export module in its current state?

We have a custom module that we want to export to a new environment.

The module was originally imported to module builder, modified, then deployed.

Since then additional customizations have been done in studio.

The original imported module no longer exists.

How do I take the module in its current state and export it (all metadata, not just recent customizations)?

Thanks.

Bryan Hunt