public static UTCDate copyDate(UTCDate date) {
        if (date == null) {
            return null;
        }
        return UTCDate.create(date.getTime());
    }
Copies a date.

@param date the date
@return the copy
stroom-core-client-widget/src/main/java/stroom/widget/datepicker/client/CalendarUtil.java