Fixed array bug in map copy.