Second monitor extends my desktop, but I want it to mirror it instead

You need to use the Apple menu in the top, left corner and open System Preferences. In there, open Displays and click the Arrangement tab. Here you can check the "Mirror Displays" option.