example to duplicate fd 2 as fd 1