cop tmp image to dir delete