copy the images to public dir