Assuming that both PCs are "generic" (self-built/custom built) and NOT OEM machines, and further assuming that both PCs are equipped with Intel-based systems...
It may be possible - in some cases even likely - that you could achieve your objective of cloning the contents (including the OS) of the SSD in your PC #1 to another SSD, install that SSD in PC#2, and the latter PC will boot.
Understand there is no guarantee that the new system will boot to the cloned drive, but it's worth a try to attempt this operation.
If the system does boot, it is likely that you will need to install whatever motherboard drivers are required by the system. Presumably you will obtain these drivers from the motherboard's drivers installation CD or from the website of the motherboard's manufacturer. On the other hand you may be pleasantly surprised over the system's ability to locate and install whatever necessary drivers are needed by the OS.
Now further understand that even if you are fortunate to gain a bootable, functioning OS via this process you will still need to have a valid Product key in order to activate the system with a Microsoft licensed OS. See...
http://windows.microsoft.com/en-us/windows-10/activation-in-windows-10