Syntax:

-copylc Ncopies

Example 1.
./vartools -i EXAMPLES/2 -LS 0.1 10. 0.1 1 0 \
    -copylc 100 \
    -expr 'mag=err*gauss()' \
    -LS 0.1 10. 0.1 1 0 \
    -header

#Name LS_Period_1_0 Log10_LS_Prob_1_0 LS_SNR_1_0 LS_Period_1_3 Log10_LS_Prob_1_3 LS_SNR_1_3
EXAMPLES/2     1.23440877 -704.49194   58.45119     0.16051136   -0.65620    5.59463
EXAMPLES/2_copy1.1     1.23440877 -704.49194   58.45119     0.20478671   -0.03436    4.89785
EXAMPLES/2_copy1.2     1.23440877 -704.49194   58.45119     0.17224308   -0.00000    4.62340
EXAMPLES/2_copy1.3     1.23440877 -704.49194   58.45119     0.43264396   -0.13495    6.51119
EXAMPLES/2_copy1.4     1.23440877 -704.49194   58.45119     0.12629761   -1.21929    7.96670
EXAMPLES/2_copy1.5     1.23440877 -704.49194   58.45119     6.48064604   -0.44006    6.40004
EXAMPLES/2_copy1.6     1.23440877 -704.49194   58.45119     0.10523377   -0.11194    7.82608
EXAMPLES/2_copy1.7     1.23440877 -704.49194   58.45119     0.28512467   -0.34491    5.33454
EXAMPLES/2_copy1.8     1.23440877 -704.49194   58.45119     0.22298997   -1.97998    9.17054
EXAMPLES/2_copy1.9     1.23440877 -704.49194   58.45119     0.60756057   -0.88846    8.40527
EXAMPLES/2_copy1.10     1.23440877 -704.49194   58.45119     0.78355418   -0.04009    5.16136
....

Calculate the -LS periodogram for the light curve EXAMPLES/2, then make 100 copies of the light curve replacing the magnitudes with Gaussian random noise, and run the -LS periodogram for each simulation. This is an example of how one might carry out Monte Carlo simulations with VARTOOLS to determine the bandwidth correction to the false alarm probability for a given light curve sampling. In practice one would want to run substantially more than 100 simulations.