Support GHC 7.8 by allowing base 4.7
Added memmove to allow non-clobbering overlapping block copies.