Implement refill with std.algorithm.copy and take