Adding a clean task to clear out the build files before copying - thanks to @mdavis1982