The corporate authorities of any agency now or hereafter having the lawful custody and care of any child not less than six years of age, and not awaiting trial nor under sentence for a term of years for crime, may, with the consent of said corporation, transfer and assign such custody and care to this corporation upon such terms as the directors of such institution and said corporation may agree.
N.Y. Soc. Serv. Law § 472-L