added: posix cp implementation