The governing body of a newly created municipality may enact within two years after its formation an ordinance or ordinances adopting by reference the provisions of any ordinance or ordinances of the municipality of which it was a part, and the ordinance or ordinances so adopted by reference shall have the same effect within the new municipality as it or they theretofore had in the municipality of which it formed a part.
N.J.S. § 40:43-25.1