added array replace

Signed-off-by: Sean Wesenberg <wookets@gmail.com>