N.Y. Criminal Procedure Law § 580.10
The attendance in a criminal action pending in a court of this state of a defendant confined as a prisoner in an institution of another jurisdiction of the United States may, under prescribed circumstances, be secured pursuant to: