Fixed bug with copying folder.