I'm assuming this is available also for IRA and Roth IRA. What you do is setup two transactions: One that will lose money in the IRA, and the other that will gain in the Roth IRA. (A straddle.) Make sure you execute both at the same time (if it's a thinly traded security you can end up trading with yourself, but that's not necessary).
Then sell, and do it again.
You effectively move money from IRA to Roth IRA. (And yes it's legal, I contacted the IRS and asked.)
In the open market you can only move a small percent at a time, but with private equity the gains and losses are much greater and you can effectively move all your money.