What is the best way to transfer the operating system from SSD to HDD/new SSD?

Hello, my PC has an SSD and an HDD. I would like to install a new SSD with more storage and remove the old one. However, the old SSD still has some programs and Windows 10 on it. What's the best way to transfer the operating system to the new SSD or temporarily to the…