If you buy something for $10 and sell at $15, you realized a gain of $5. If you then buy at $15 and sell it at $15, you realized a gain of $0.
But they didn't just move gold bars around, is my point, and in what they did (sold, rebuy) there indeed was an opportunity to make a gain.