I know people have been using normal functions to compare 2 arrays.

But when we are looking at comparing 2 arrays and getting the actual difference then we need to use a complex algoritm. The below links give a real good implementation of such a algorithm in C# but the same concepts can be used in VBScript also.