Method Stdio.File()->dup() class Stdio.File Method dup File dup() Description This function returns a clone of Stdio.File with all variables copied from this file. Note All variables, even id, are copied. See also assign()