GCC-4.8 Build Fix

Change-Id: I212c026ad0a02c8815851a262c4e637df361c350
GCC-4.8 Build Fix - Don't use memcpy on areas that may overlap.

Change-Id: I1d42c5a065bcf7a09652ac0d4aa9321b0e34a175