Fix performance issue with ExtractPhysToBndElmt
This MR fixes a significant performance issue with the ExtractPhysToBndElmt routine due to the use of small temporary Array objects inside loops when performing copying of data from sub-ranges of a larger array.