Copying a MySQL 5.6 server settings for a new environment?
The first recommendation is to not use Windows 10 on your installation if this is for a production server. I highly recommend you Linux but if that's not possible at least Windows Server.
Asking your question, YES.
Just install MySQL (same version as on old machine) and follow these steps

Stop MySQL on both machines (New and old)
Locate and delete datadir folder on the new machine and copy the one from the old machine
Do the same with my.ini file (Delete the new one and replace it with old one).

In theory, you should be able to start MySQL on the new machine and access the data.
Check data and if everything goes fine, you can delete old machine service/data.