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

There is slightly different treatment of memory smaller and larger than 2048:

2 Likes