refs #19: Change copyDir parameters order and behaviour