How to test mirroring with a single Microsoft SQL Server license?
You can install from the same media on another server without violating licensing; as long as the mirror secondary has equal or less processors than the primary. As long as you don't use it for active read-only connections, it doesn't need a paid license. See page 11[pdf], this is for SQL 2012, but there have been similar provisions as far back as I can remember.