N.Y. Criminal Procedure Law § 245.40
1. Availability. After the filing of an accusatory instrument, and subject to constitutional limitations, the court may, upon motion of the prosecution showing probable cause to believe the defendant has committed the crime, a clear indication that relevant material evidence will be found, and that the method used to secure such evidence is safe and reliable, require a defendant to provide non-testimonial evidence, including to: