I was told in grade school (approx 1965!) that cop stood for Constable On Patrol, so wasn't derogatory, just slang.