If a child is being formally adopted that means that the parental rights of the child's legal mother and father are being terminated and the adoptive parent or parents step in to their shoes.  So yes, you would become the child's legal Mother.  Good luck.