Add sample IMAGE COPY sample and fix some trouble with event