Whenever any person within this state is charged on the oath of any credible person before any judge or other magistrate of this state with the commission of a crime in any other state, and, except in cases arising under §40-9-113, with having fled from justice; or whenever a complaint has been made before any judge or other magistrate in this state setting forth on the affidavit of any credible person in another state that a crime has been committed in that other state and that the accused has been charged in that other state with the commission of the crime, and, except in cases arising under §40-9-113, has fled therefrom and is believed to have been found in this state, the judge or magistrate shall issue a warrant directed to the sheriff of the county in which the oath or complaint is filed directing the sheriff to apprehend the person charged, wherever the person may be found in this state, and bring the person before the issuing judge or magistrate or any other judge, court or magistrate who may be conveniently accessible to the place where the arrest may be made, to answer the charge or complaint and affidavit. A certified copy of the sworn charge or complaint and affidavit upon which the warrant is issued shall be attached to the warrant.