Section 41. Said board of trustees shall have the management and control of said home and all property, real and personal, belonging to the commonwealth and occupied or used by said home, and shall hold and administer in trust the property included in the ''legacy fund'' and the ''effects accounts'', if and when the transfer thereof to the commonwealth is effected pursuant to a decree of a court of competent jurisdiction, and in accordance with the terms and conditions imposed by such decree. In the management and control of said home as aforesaid, said board of trustees shall have the same powers and perform the same duties as are vested and imposed in the trustees of state hospitals under the provisions of chapter nineteen, so far as applicable.