add some warning in using memcpy() function