Every such officer or other person empowered to make the arrest shall have the same authority in arresting the accused to command assistance therein, as sheriffs and other officers have by law in the execution of any criminal process directed to them, with the like penalties against those who refuse their assistance.