That every voluntary assignment of lands, tenements, goods, chattels, effects and credits, made by any debtor to any person in trust for the benefit of his creditors, shall be for the benefit of all the creditors of the assignor in proportion to their respective claims, except as hereinafter provided in this chapter; and every such assignment shall be proved or acknowledged and certified and recorded in the same manner as is prescribed by law in cases wherein real estate is conveyed.