adding null character to copy command