copy location information on replicate AST nodes