title: How to copy NSMutableDictionary values into the another NSMutableDictionary in iPhone?
body: <p>I want to copy a NSMUtableDictionary values into the another NSMutableDictioary. How can i do that?</p>
  
  <p>Here my code is,</p>
  
  <pre><code> PersonClass.h file:
  
   NSMutableDictionary *tempDictionary;
   @property (nonatomic, retain) NSMutableDictionary *tempDictionary;
  
   PersonClass.m
   @synthesize tempDictionary; 
  
   tempDictionary = [[NSMutableDictionary alloc] init];
  
  -(PersonClass *) initWithPerson:(NSMutableDictionary *) feedDictionary
  {
       // get all the values in feedDictionary.
  
       //Now i want copy of the details from feedDictionary into the tempDictionary
  
             tempDictionary = feedDictionary; // Doesn't copy.
  }
  </code></pre>
  
  <p>I want to access the tempDictionary values to the person class. SO how can i copy from feedDictionary to the tempDictionary. Please help me out.</p>
  
  <p>Thanks.</p>