input: from typing import List
  
  
  def expand_list(list: List) -> List:
      """
      Modify the list by doubling its size for each iteration over the original list.
      Avoid modifying the list while iterating over it by making a copy of the list.
      >>> expand_list([1, 2, 3])
      [1, 2, 3, 1, 2, 3, 1, 2, 3, 1, 2, 3, 1, 2, 3, 1, 2, 3, 1, 2, 3, 1, 2, 3, 1, 2, 3, 1, 2, 3]
      """
      list_copy = list[:]  # make a copy of the list
      for item in list_copy:
          list *= 2
      return list
output:     list_copy = list[:]  # make a copy of the list
      for item in list_copy:
          list *= 2
      return list