Remove log before copying