You need a Notice of Motion, an affidavit with your arguments, an affidavit of service, and a blueback. You have to serve it on the prosecutor and file the original in court. Technically, you can't do the service because you are a party to the case.
The above answer, and any follow up comments or emails is for informational purposes only and not meant as legal advice.
CPL 170.30 states that: “The procedural rules prescribed in section 210.45 with respect to the making, consideration and disposition of a motion to dismiss an indictment are also applicable to a motion to dismiss an information, a simplified traffic information, a prosecutor`s information or a misdemeanor complaint.” I have provided a link to CPL 210.45 below.
The information provided is not intended to be legal advice, but merely conveys general information related to legal issues commonly encountered. The information is not guaranteed to be correct, complete, or current. I make no warranty, expressed or implied, about the accuracy or reliability of the information. You should not act or rely on any information at above without seeking the advice of an attorney. The determination of whether you need legal services and your choice of a lawyer are very important matters that should not be based on websites or advertisement