How to Copy my Entire Site for testing

Years ago on Blogging 101 (I think that’s what it was), I learned that I could copy my entire site, then test the copy privately, as I expect to go through a number of major changes, and it was recommended that we don’t do that with our site, but with a copy.

Now, years later, I cannot find how to do that.  Can you help?