code: public static BinaryDocument from(BinaryDocument doc, long cas) {
          return BinaryDocument.create(doc.id(), doc.expiry(), doc.content(), cas, doc.mutationToken());
      }
docs: Creates a copy from a different {@link BinaryDocument}, but changes the CAS value.
  
  @param doc the original {@link BinaryDocument} to copy.
  @param cas the CAS (compare and swap) value for optimistic concurrency.
  @return a copied {@link BinaryDocument} with the changed properties.