Is ReactOS legal?
Yes. It’s fully legal. Developers have not looked at Windows® source code. They have used the public documentation of Windows® OSes. They have made several tests to understand how Windows® works. In fact, ReactOS does the same things Windows® does, but not exactly in the same way, because they haven’t the same source code. All code in ReactOS is under the GNU GPL (General Public License).