Use memmove instead of memcpy in copy! Fixes #3937
Merge pull request #7521 from JuliaLang/dcj/memmove

Use memmove instead of memcpy in copy! Fixes #3937