newUserPrefs.saveSMTPPort(userPrefs.getSmtpPort());
newUserPrefs.saveSSLPort(userPrefs.getSslPort());
newUserPrefs.saveSMTPUsername(userPrefs.getSmtpUsername());
newUserPrefs.saveSMTPPassword(userPrefs.getSmtpPassword());
newUserPrefs.saveProxyHost(userPrefs.getProxyHost());
newUserPrefs.saveProxyPort(userPrefs.getProxyPort());
if (userPrefs.getFilesizeChunkingCutoffMB() != null)
newUserPrefs.saveFilesizeChunkingCutoffMB(Integer.parseInt(userPrefs.getFilesizeChunkingCutoffMB()));
if (userPrefs.getNumRowsPerChunk() != null)
newUserPrefs.saveNumRowsPerChunk(Integer.parseInt(userPrefs.getNumRowsPerChunk()));