Move SubArray to a file of its own.