Fixed array copy error.