benchmarkin a simple capture and subsequent array copy