I working on a python script to copy domains from one geodatabase to another (to rebuild replicas/staging environments). I cannot figure out why I get the following error when it the script hits arcpy.da.NumPyArrayToTable(array, table)

Runtime error 
Traceback (most recent call last):
 File "", line 70, in 
 File "", line 65, in migrateDomains
RuntimeError: An invalid SQL statement was used. [SELECT \* FROM table]

Below is my code

```
inputDomains = arcpy.da.ListDomains(inputDB)                               

tupLst = []

for domain in inputDomains:
    if domain.name == 'gFittingType':
        print('Domain name: {0}'.format(domain.name))
        print(domain.description)
        if domain.domainType == 'CodedValue':                              
            codeValues = domain.codedValues
            for val, desc in codeValues.items():
                tupLst.append((str(val),str(desc)))

        array = np.array(tupLst, dtype=[('code','S50'),('value','S50')])
        table = r'u:\scratch_workspace\scratch.gdb\table'
        arcpy.da.NumPyArrayToTable(array, table)
        arcpy.TableToDomain_management(table,'code','value',targetDB,domain.name,domain.description,'REPLACE')

```

Additional info (ArcGIS 10.3)