CMAKE file copy fixed