I guess you could line-for-line duplicate functionality, but that's just like running the binary in an emulator with extra steps.
Part of the value of a migration would be the opportunity to to unwind some of the details that are contradictory, mis- or non-documented, or wrong-but-unfixable.