Any prisoner released to temporary custody under the provisions of the Agreement on Detainers from a place of imprisonment in South Carolina who shall escape or attempt to escape from such temporary custody, whether within or without the borders of this State, shall be dealt with in the same manner as if the escape or attempt to escape were from the original place of imprisonment.