Fixed parmdb copy