Invoke-Neo4jAdmin : An item with the same key has already been added

From JS (react js) I am trying to execute following shell command

neo4j-admin copy --from-database=copy --to-database=copy2
(refer attached snap of code - Capture11)

but getting error following error

error: Command failed: neo4j-admin copy --from-database=copy --to-database=copy2
Invoke-Neo4jAdmin : An item with the same key has already been added.
At C:\Users\HP.Neo4jDesktop\relate-data\dbmss\dbms-7a738fb3-f330-4f3e-96f3-7b1e8f1bd64e\bin\neo4j-admin.ps1:13 char:7

  • Exit (Invoke-Neo4jAdmin -Verbose:$Arguments.Verbose -CommandArgs $Arg ...

  • CategoryInfo : NotSpecified: (:) [Write-Error], WriteErrorException

  • FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,Invoke-Neo4jAdmin
    (refer attached snap of error - Capture10)

Note : Same command is working fine when executing from terminal