Readded memory copy macros and functions