If after two years of membership in the pension fund a member should cease to be a State law enforcement officer, he shall be paid the amount of his aggregate contributions with two per centum (2%) interest; provided, however, that if such a member continues in the employ of the State or public agency in which position he is covered by another pension fund or retirement system supported in whole or in part by the State of New Jersey, his aggregate contributions shall be transferred to that pension fund or retirement system and he shall receive due credit for such contributions to such pension fund or retirement system.
N.J.S. § 43:8A-14