Please note that these steps were performed on Thunderbird version 102.4.0 (Updated for Thunderbird 128.6.0esr). They should also work for earlier versions. Just ensure you choose either the ImportExportTools NG or the older ImportExportTools add-on, depending on your version of Thunderbird.
Note: Copy your data in such a way that your original folder structure remain same through out the process.