cop tmp image to dir callback