All moneys, properties, or rights in action, equitably belonging to any society, union or association at the time the same shall become incorporated under the provisions of this chapter, shall vest in the corporation so formed, and may be recovered by such corporation in an action of assumpsit, or on the case from any person unlawfully withholding the same.