Add implementation of copyin.9
Fix typo in copyout.9

Add needed "const" qualifier as well