I think "mirror" is a more intuitive description of the problem, but essentially you reverse all of the left and right subtrees. This Quora question [1] has a few different approaches listed.
[1]: https://www.quora.com/What-is-the-algorithmic-approach-to-in...