Where any duty is imposed upon a municipal officer by any law of this State or any rule or regulation adopted under the authority of any such law the governing body of a city may, by ordinance, impose such duty or a portion thereof upon such other officer of such city as is charged under the charter of that city, or by applicable general law with the performance of duties of the same character in that city. A copy of any such ordinance as adopted shall be filed with the state officer or agency which has charge of the matter to which such duty pertains.
Ca. Gov. Code § 34004