copy-store fails on a large graph where the max id > max integer with:
Copying from /x/graph.db to /y/graph.db ingoring rel-types [] ignoring properties [false] ignoring labels [] removing nodes with labels [] keep node ids false
Exception in thread "main" java.lang.IllegalArgumentException: initial capacity cannot be less than 0
at org.eclipse.collections.impl.map.mutable.primitive.LongLongHashMap.<init>(LongLongHashMap.java:87)
at org.neo4j.tool.StoreCopy.copyNodes(StoreCopy.java:219)
at org.neo4j.tool.StoreCopy.copyStore(StoreCopy.java:82)
at org.neo4j.tool.StoreCopy.main(StoreCopy.java:49)
It looks like there is a cast from long to int on StoreCopy.java:219 causing the issue.