When can a cop arrest me?

A police officer can only make a lawful arrest if he has probable cause, or a warrant.

 

The police make unlawful arrests all the time, and the cases get thrown out.