Clearing and copying list values instead of assigning lists