Microsoft SQL to Microsoft SQL with masking

I need to create a copy of a Microsoft SQL database for testing, and have to protect customer privacy

How to start, log in, apply masking and copy a database.
Define once, run many.