Fixed copying of folders