Added mkdir to create directory before copying to it