title: iterating through a list removing items, some items are not removed
body: <p>I'm trying to transfer the contents of one list to another, but it's not working and I don't know why not. My code looks like this:</p>
  
  <pre><code>list1 = [1, 2, 3, 4, 5, 6]
  list2 = []
  
  for item in list1:
      list2.append(item)
      list1.remove(item)
  </code></pre>
  
  <p>But if I run it my output looks like this:</p>
  
  <pre><code>&gt;&gt;&gt; list1
  [2, 4, 6]
  &gt;&gt;&gt; list2
  [1, 3, 5]
  </code></pre>
  
  <p>My question is threefold, I guess: Why is this happening, how do I make it work, and am I overlooking an incredibly simple solution like a 'move' statement or something?</p>