mycopy and mycat using systemcalls are  done