Older versions wouldn't do that as it would create a hash file based on your hardware. Nice that MS works this way (in more recent versions of Office). Since that same data gets copied over to the new Mac, it comes up as already registered.
When you register newer versions of Office, a file is created in the Group Containers folder noting the software has been activated with a valid key.
Migration Assistant copies your entire home folder over to the new Mac.