apply: use COPY_ARRAY and MOVE_ARRAY in update_image()