seperate traineddata copy to method