you need the opinion of a NY lawyer. I would suggest keeping it informal by drafting a trasnfer of custody paper, singed by both of her parents. That way, you always have proof why she is with you-for the schools, medical, travel, etc. i would try not to get the court involved.
William R. Pelger, Attorney