Clone A SQL Server Login And Password To A New Server

I came across this article on mssqltips.The article is sharing tips on how to setup a SQL Server login on ServerB with the same credentials as ServerA for testing using SQL Server 2014. Also, pay attention to the comments section where other user suggested an alternate tool to do the same.