Implement Arrays#copyOf(long[], int)

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>