It's actually very simple because thunderbird stores all of it's information in a folder under your user directory only it hidden from view by default so you cannot message it up.
If you can tell us what operating system you're currently running and what operating system you're moving to I can give you step by step instructions.