I need to write a if statement that checks if two arrays are equal and then performs some task.
i.e.
if java.util.Arrays.equals(data1, data2) = true
then
{ do something }
else if java.util.Arrays.equals(data1, data2) = false
{do something else}
thanks!