Begin for coding copy-function

May need improve for the future!