Copypixels

Hi guys,

I was wondering if there is a function in AS3 which behaves exactly like copypixels (takes a specified area of a bitmap and then copies it to another etc) but instead it adds the data to an array which can then be copied later?

So if I have a tileset (a bitmap of several tiles) I want to take each tile, store them in an array and then access them later via copypixels… is this possible?