Reproducing someone’s intellectual property and publishing it is exactly what constitutes a copyright violation.
You can retype someone’s book with your keyboard, it’s still not yours.
Learn something new, dear GenZers:
Maybe you all realize how much brainwashed from corporations yall actually are.
Reproducing is absolutely not a copyright violation. Otherwise emulators would have no legal option to exist.
Reproducing the surface behavior of a program, no matter how faithfully, is not in itself copyright violation if it's a cleanroom implementation. But int this case it's not to write the new one, the developers studied (and manually translated to C++) the original code, not just the program's behavior. So this is more of a case of a derived work, like a translation of a novel.