N.Y. Criminal Procedure Law § 570.64
The provisions of this article shall be so interpreted and construed as to effectuate its general purposes to make uniform the law of those states which enact it.