The sheriff shall obey such order without unnecessary delay, and shall endorse on the commitment or process by virtue of which the prisoner was in his custody, the reason of the change of custody, and shall deliver such warrant, with the prisoner, to the keeper of the jail of the proper county, who shall give such sheriff a receipt therefor and take charge of and keep the prisoner in the same manner as if he had been originally committed to such jail.
§ 545.560, RSMo