def exportCSV(self, filePath):
        if os.path.exists(self.csvFilePath):
            with open(self.csvFilePath, 'r+b') as csvfileReader:
                reader = csv.reader(csvfileReader)
                with open(filePath, 'a+b') as csvfileWriter:
                    writer = csv.writer(csvfileWriter)
                    writer.writerow(self.columnNamesExtended)
                    for row in reader:
                        writer.writerow(row)
            return True
        else:
            return False
Export the information stored in the current csv file that is storing the data to a better
dataset/ETHPy150Open acil-bwh/SlicerCIP/Scripted/CIP_Common/CIP/ui/CaseReportsWidget.py/CaseReportsLogic.exportCSV