human
copy a list
assistant
Here is some code to copy list `old_list` as `new_list`

new_list = old_list[:]

#Warning: this code generation is experimental. Please inspect the code for any bugs before executing.