i would like to clone a hard drive and transfer to a new machine but with same specifications with the old one, do the installed software will have some technical difficulties during the migration?
The newl cloned HDD (or SSD) will work exactly as the old one. If the old one was perfect, the new one (cloned) will be perfect. If the old one was defective, the new one will be defective.
Cloning makes an exact copy!
Backup before you do anything. Backup to an external drive.
For cloning (making an exact copy of the entire disk) you need to connect the hard disk to your present computer OR to a different computer and then use a cloning software. There are a few good free cloning software that you can download and run.
There is Acronis (free download from WD's website).