In your old Mach3 folder you should find the file Mach1Lic.dat that is your license file and it should be copied into your new Mach3 folder.
If you have lost your Mach1Lic.dat file completely then you need to contact Microproto for a duplicate.
Tweakie.