How to create method that can receive a parameter of both: byte[] and Byte[] : 
which can be called: method(new byte[5]) and method(new Byte[5])

e.g. i have in my code:
     
    Byte[] array = list.toArray(new Byte[list.size()]);
    byte[] bytes = str.getBytes();
and to work with both arrays i forced to duplicate each method separately for byte[] and Byte[]