An attested copy of the writing, in which any corporation which becomes a domestic corporation hereunder claims a domicile elsewhere than in this state, shall be made out forthwith by the clerk of the court in which such writing is filed, and shall be mailed by such clerk to the Secretary of State. When such attested copy is received by said Secretary of State, he shall immediately enter upon the records of his office an order canceling and annulling all charter rights of such corporation and such corporation shall thereafter enjoy only the privileges of a foreign corporation and shall forfeit all rights hereunder.
R.L. 1910, § 1458.