I've added a comment explaining that a destination array is created if it does not exist yet.