added copy_and_swap.cxx