A child born to parents who are not married to each other has the same rights pursuant to the law as a child born to parents who are married to each other.