How spending same coins both at BCC and BTC blockchains prevented?
This is from their FAQ.

Bitcoin Cash transactions use a new flag SIGHASH_FORKID, which is non standard to the legacy blockchain.  This prevents Bitcoin Cash transactions from being replayed on the Bitcoin blockchain and vice versa.