fix wrong copy function
rename "sample" to "test"