Create directories before copying files and ignore errors when removing unexistent files