The chief of police and the policemen of the city shall be authorized to the same extent as sheriffs of this State to execute wan:ants placed in their hands charging any person with a violation of any of the criminal laws of this State.