{
originalValues = new HashMap();
Iterator itr = preferenceSet.iterator();
while (itr.hasNext())
{
PrefsPreference pref = (PrefsPreference) itr.next();
String[] currentValues = pref.getValueArray();
String[] backUp = new String[currentValues.length];
System.arraycopy(currentValues, 0, backUp, 0, currentValues.length);
originalValues.put(pref.getName(), backUp);
}
}