private Device copyDevice(final Device source) {
        Device dest = null;
        if (source != null) {
            dest = new Device();
            dest.setIPAddress(source.getIPAddress());
            dest.setHostName(source.getHostName());
            dest.setMACAddress(source.getMACAddress());
        }
        return dest;
    }
Shallow merge of the two Purpose objects
stroom-event-logging/stroom-event-logging-impl/src/main/java/stroom/event/logging/impl/StroomEventLoggingServiceImpl.java