There are two possible sources for police being called "cops"....
In NYC, the first patrolmen wore civilian clothes and badges made of copper. They were called coppers, which was colloquialized to cop.
At the same time, in London, England, there were patrolmen called "Constables On Patrol"
Both are true. Pick the one you like best.