use memcpy to copy color image instead of nested for-loops
Merge pull request #32 from youtalk/memcpy-color-image

use memcpy to copy color image instead of nested for-loops