PP Chemistry toolkit - Perl - Generate a molecule copy?

Hello,

I am trying to generate a copy of a molecule within a component.

For one molecule that enters the perl toolkit component, there might be several molecules that exit the component.
How can I do that?

I tried something like:
IF (Condition)
{
\$data->routeTo(PASSPORT);
}

But that does not seem to work.

Any idea is welcome.

Thanks a lot,
Jerome.