Clerks, sheriffs, constables, marshals, stenographers, and other court officers have such powers and perform such duties as are conferred upon them by law.