array copy native method