copy loop test