BASE: Fix memmove implementation

Also make 'memcpy' to behave like memmove on region overlap.

Issue #604
BASE: 'memcpy_cpu' implementation for x86 32/64

Issue #605