Revert "Array Compare"

This reverts commit 35b6d9cd569ea5b38196b36e3b8e57cce502f181.
Compare Array

different way to compare array