code: public static BinaryValue create(byte[] data)
      {
          if (data != null)
          {
             data = Arrays.copyOf(data, data.length);
          }
          return new BinaryValue(data);
      }
docs: Create a BinaryValue containing a copy of the supplied {@code byte[]}
  <p>
  A copy of the supplied {@code byte[]} is made.
  </p>
  
  @param data the {@code byte[]} to copy
  @return a new {@code BinaryValue}