Revert "copy functions"

This reverts commit b42a4527a1f30bef1058094b3c5fe67007b643e1.
more tests