Fix the bug of the copy function