addtion to function memcpy