remove dir before copying