Moved glob and copy to IO

Fixed folder glob and copy bug causing a $digest error