testing raw copy functions