Every deputy sheriff shall possess all the powers and may perform any of the duties prescribed by law to be performed by the sheriff.