Action before artifact copy

Is possible to execute a script before the artifact is copy from a stage to another?