Other methods exist to test correlations on serially correlated (autocorrelated) data. For example:
Yuan, Alex E., and Wenying Shou. "A rigorous and versatile statistical test for correlations between stationary time series." PLoS biology 22.8 (2024): e3002758.