code: public static Dictionary<String, String> putAll(Dictionary<String, String> sourceDictionary, Dictionary<String, String> destDictionary)
      {
          if (destDictionary == null)
              destDictionary = new Hashtable<String, String>();
          if (sourceDictionary != null)
          {
              Enumeration<String> keys = sourceDictionary.keys();
              while (keys.hasMoreElements())
              {
                  String key = keys.nextElement();
                  destDictionary.put(key, sourceDictionary.get(key));
              }
          }
          return destDictionary;
      }
docs: Copy all the values from one dictionary to another.
  @param sourceDictionary
  @param destDictionary
  @return