copy from the same file