Equal method

Write a Java method that determines whether two arrays of double numbers have
the same numbers or not. These two arrays and their sizes (arrays may not be full) must be parameters
of the isEqual method. Any two arrays are exactly the same if they both have the same size and all
the elements in the same positions of both arrays are the same number.