What are the steps to migrate from old server to a new server

We are currently running Exchange Archive Manager (8.0) on a Windows Server 2008R2, and are considering a move to a new Windows Server 2012 R2.

The current server has all the services, HSM is stored on another drive ( for example on "D" Drive" and SQL server installed on another Windows server 2012.

So, I'm looking for steps how to migrate to a new server from the old one.

Thanks in advance ...