Started refactoring CreateExternalArray.
Started refactoring CreateExternalArray.

google/gjstest,aungzanbaw/gjstest,google/gjstest,google/gjstest,google/gjstest,aungzanbaw/gjstest,aungzanbaw/gjstest,aungzanbaw/gjstest