Used just after being caught at something.
Roughly equivalent to "Yes, I did it."
From "cop", to catch.
The full version is "It's a fair cop, guv, you've got me bang to rights".
See full list of Stock British Phrases at http://tvtropes.org/pmwiki/pmwiki.php/Main/StockBritishPhrases