Why do functions like similar and copy make 2 allocations for large arrays?

Which Julia version are you on? The Memory changes of 1.11 are known to cause this behavior