fixed test
fixed copy_to