A lot of bitcoin exchanges operate with their own internal currency. When you buy BTC on Mt Gox, you're buying MtGoxBTC and only when you transfer to an external address do they send real bitcoins. That's why Mt Gox was able to "roll back" the transactions created by that hacker last year, which is impossible to do with transactions in the block chain.