Add uio_copy function.