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